package com.bolang.onlycode.demo.activemq.Consumer;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

@Component
public class ConsumerC {
    @JmsListener(destination = "firstTopic")
    public void receiveTopic(String text)
    {
        System.out.println("ConsumerC topic msg : {}"+ text);
    }
}
